home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / PushB.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  1.6 KB  |  64 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: PushB.h,v $ $Revision: 1.10 $ $Date: 92/05/14 12:54:46 $ */
  6. /*
  7. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  8. /*
  9. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  10. /*
  11. *  (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  12. /*
  13. *  (c) Copyright 1988 MICROSOFT CORPORATION */
  14. /***********************************************************************
  15.  *
  16.  * PushButton Widget
  17.  *
  18.  ***********************************************************************/
  19.  
  20. #ifndef _XmPButton_h
  21. #define _XmPButton_h
  22.  
  23. #include <Xm/Xm.h>
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28.  
  29. #ifndef XmIsPushButton
  30. #define XmIsPushButton(w) XtIsSubclass(w, xmPushButtonWidgetClass)
  31. #endif /* XmIsPushButton */
  32.  
  33. /* PushButton Widget */
  34.  
  35. externalref WidgetClass xmPushButtonWidgetClass;
  36.  
  37. typedef struct _XmPushButtonClassRec *XmPushButtonWidgetClass;
  38. typedef struct _XmPushButtonRec      *XmPushButtonWidget;
  39.  
  40.  
  41. /********    Public Function Declarations    ********/
  42. #ifdef _NO_PROTO
  43.  
  44. extern Widget XmCreatePushButton() ;
  45.  
  46. #else
  47.  
  48. extern Widget XmCreatePushButton( 
  49.                         Widget parent,
  50.                         char *name,
  51.                         ArgList arglist,
  52.                         Cardinal argcount) ;
  53.  
  54. #endif /* _NO_PROTO */
  55. /********    End Public Function Declarations    ********/
  56.  
  57.  
  58. #ifdef __cplusplus
  59. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  60. #endif
  61.  
  62. #endif /* _XmPButton_h */
  63. /* DON'T ADD ANYTHING AFTER THIS #endif */
  64.